<template>
	<view class="loading">
			<image :src="emptyImage"></image>
		</view>
</template>

<script>
	export default {
		props: {
			// 检测类型 + 其他验证
			emptyText: {
				type: String,
				default: '暂无数据',
			},
			emptyImage:{
				type:String,
				default: '/static/images/loading.gif',
			}
		},
	}
</script>

<style>
	.loading {
		background: #fff;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}

	.loading image {
		position: relative;
		width: 300rpx;
		height: 300rpx;
		top: 20%;
		left: 30%;
	}
</style>